﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace iPlaylistSync
{
    public class DirectoryFilter
    {
        public static string Filt(string str)
        {
            string result = str
                .Replace("\\", "＼")
                .Replace("/", "／")
                .Replace("*", "＊")
                .Replace("|", "｜")
                .Replace("?", "？")
                .Replace("<", "＜")
                .Replace(">", "＞")
                .Replace("\"", "＂")
                .Replace(":", "：");
            return result;

        }
    }
}
